<script>
  import $ from 'dfish-widget'
  import Method from '../Method.vue'

  export default {
    mixins: [Method],
    data() {
      return {
        name: '$.previewVideo(src)',
        remark: '播放视频。',
        attrs: [{
          name: 'src',
          remark: '视频地址',
          type: 'String',
        }],
        examples: [{
          remark: '播放视频',
          code: `
            $.previewVideo('./qd.mp4')
            `
        }]
      }
    }
  }
</script>
